/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ticket.crowdmiddleleader.service;

import java.util.List;

import com.jeeplus.modules.ticket.crowdleadershipteach.entity.CrowdLeadershipTeach;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.ticket.crowdmiddleleader.entity.CrowdMiddleleader;
import com.jeeplus.modules.ticket.crowdmiddleleader.mapper.CrowdMiddleleaderMapper;

/**
 * 中层干部(群众)Service
 * @author 刘明星
 * @version 2021-09-15
 */
@Service
@Transactional(readOnly = true)
public class CrowdMiddleleaderService extends CrudService<CrowdMiddleleaderMapper, CrowdMiddleleader> {

	public CrowdMiddleleader get(String id) {
		return super.get(id);
	}
	
	public List<CrowdMiddleleader> findList(CrowdMiddleleader crowdMiddleleader) {
		return super.findList(crowdMiddleleader);
	}
	
	public Page<CrowdMiddleleader> findPage(Page<CrowdMiddleleader> page, CrowdMiddleleader crowdMiddleleader) {
		return super.findPage(page, crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateGood(CrowdMiddleleader crowdMiddleleader){
		mapper.updateGood(crowdMiddleleader);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateCompetent(CrowdMiddleleader crowdMiddleleader){
		mapper.updateCompetent(crowdMiddleleader);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateBasisCompetentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateBasisCompetentList(crowdMiddleleader);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateNoCompetentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateNoCompetentList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateFanNoExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateFanNoExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateFanPointExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateFanPointExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateFanProminentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateFanProminentList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateFiveNoExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateFiveNoExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateFivePointExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateFivePointExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateFiveProminentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateFiveProminentList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakGood(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakGood(crowdMiddleleader);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakCompetent(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakCompetent(crowdMiddleleader);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakBasisCompetentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakBasisCompetentList(crowdMiddleleader);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakNoCompetentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakNoCompetentList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakFanNoExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakFanNoExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakFanPointExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakFanPointExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakFanProminentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakFanProminentList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakFiveNoExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakFiveNoExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakFivePointExistList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakFivePointExistList(crowdMiddleleader);
	}

	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakFiveProminentList(CrowdMiddleleader crowdMiddleleader){
		mapper.updateSpeakFiveProminentList(crowdMiddleleader);
	}

	@Transactional(readOnly = false)
	public void save(CrowdMiddleleader crowdMiddleleader) {
		super.save(crowdMiddleleader);
	}
	
	@Transactional(readOnly = false)
	public void delete(CrowdMiddleleader crowdMiddleleader) {
		super.delete(crowdMiddleleader);
	}
	
}